#include "gs.h"
# if 0
int gs_init(void)
{
    static int curr = 0;
    int ret;

    while (1) {
       tank = g_gs.tanks[curr];
       ret = gs_tank_get_data(tank, &data);
       curr = (curr+1) % g_gs.tanks_nr;
    }
    return 0;
}
#endif
